package com.seari.bean;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

/**
 * 设备信息表
 *
 * @Author: zyk
 * @Date: 2020/1/6 14:27
 * @Version 1.0
 */
public class ETInformation {

    //管理信息
    /**
     * id
     */
    private Integer eid;
    /**
     * 设备编号(资材编号)
     */
    private String etCode;
    /**
     * 专业(资材大类编号)
     */
    private String domain;
    /**
     * 系统(资材小类编号)
     */
    private String systemName;
    /**
     * 资材名称(设备名称)
     */
    private String etName;
    /**
     * 设备类型
     */
    private String etType;
    /**
     * 设备描述
     */
    private String etComment;
    /**
     * 创建人编号
     */
    private String createdId;
    /**
     * 创建人
     */
    private String createdName;
    /**
     * 创建时间
     */
    @JsonFormat(pattern ="yyyy-MM-dd", timezone = "GMT+08:00")
    private Date createdTime;
    /**
     * 所属单位
     */
    private String owner;

    //基础信息
    /**
     * 规格型号
     */
    private String etModel;
    /**
     * 供应商
     */
    private String etSupplier;
    /**
     * 制作商
     */
    private String etProducer;
    /**
     * 出厂日期
     */
    @JsonFormat(pattern ="yyyy-MM-dd", timezone = "GMT+08:00")
    private Date dateOfProduction;
    /**
     * 保修期至
     */
    @JsonFormat(pattern ="yyyy-MM-dd", timezone = "GMT+08:00")
    private Date guaranteePeriod;
    /**
     * 产品序列号
     */
    private String serialNum;
    /**
     * 专业类别编号
     */
    private String professionalId;
    /**
     * 额定电压
     */
    private String voltage;
    /**
     * 额定功率
     */
    private String power;
    /**
     * 使用寿命
     */
    private String life;


    //安装信息
    /**
     * 线路
     */
    private PZLine pzLine;
    /**
     * 所属站点
     */
    private String stationName;
    /**
     * 安装位置
     */
    private String installLocation;
    /**
     * 安装日期
     */
    @JsonFormat(pattern ="yyyy-MM-dd", timezone = "GMT+08:00")
    private Date installDate;

    //维护信息
    /**
     * 是否维修计划
     */
    private Boolean planned;
    /**
     * 关联计划
     */
    private EtMaintainPlan etMaintainPlan;

    public Integer getEid() {
        return eid;
    }

    public void setEid(Integer eid) {
        this.eid = eid;
    }

    public String getEtCode() {
        return etCode;
    }

    public void setEtCode(String etCode) {
        this.etCode = etCode;
    }

    public String getDomain() {
        return domain;
    }

    public void setDomain(String domain) {
        this.domain = domain;
    }

    public String getSystemName() {
        return systemName;
    }

    public void setSystemName(String systemName) {
        this.systemName = systemName;
    }

    public String getEtName() {
        return etName;
    }

    public void setEtName(String etName) {
        this.etName = etName;
    }

    public String getEtType() {
        return etType;
    }

    public void setEtType(String etType) {
        this.etType = etType;
    }

    public String getEtComment() {
        return etComment;
    }

    public void setEtComment(String etComment) {
        this.etComment = etComment;
    }

    public String getCreatedId() {
        return createdId;
    }

    public void setCreatedId(String createdId) {
        this.createdId = createdId;
    }

    public String getCreatedName() {
        return createdName;
    }

    public void setCreatedName(String createdName) {
        this.createdName = createdName;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public String getOwner() {
        return owner;
    }

    public void setOwner(String owner) {
        this.owner = owner;
    }

    public String getEtModel() {
        return etModel;
    }

    public void setEtModel(String etModel) {
        this.etModel = etModel;
    }

    public String getEtSupplier() {
        return etSupplier;
    }

    public void setEtSupplier(String etSupplier) {
        this.etSupplier = etSupplier;
    }

    public String getEtProducer() {
        return etProducer;
    }

    public void setEtProducer(String etProducer) {
        this.etProducer = etProducer;
    }

    public Date getDateOfProduction() {
        return dateOfProduction;
    }

    public void setDateOfProduction(Date dateOfProduction) {
        this.dateOfProduction = dateOfProduction;
    }

    public Date getGuaranteePeriod() {
        return guaranteePeriod;
    }

    public void setGuaranteePeriod(Date guaranteePeriod) {
        this.guaranteePeriod = guaranteePeriod;
    }

    public String getSerialNum() {
        return serialNum;
    }

    public void setSerialNum(String serialNum) {
        this.serialNum = serialNum;
    }

    public String getProfessionalId() {
        return professionalId;
    }

    public void setProfessionalId(String professionalId) {
        this.professionalId = professionalId;
    }

    public String getVoltage() {
        return voltage;
    }

    public void setVoltage(String voltage) {
        this.voltage = voltage;
    }

    public String getPower() {
        return power;
    }

    public void setPower(String power) {
        this.power = power;
    }

    public String getLife() {
        return life;
    }

    public void setLife(String life) {
        this.life = life;
    }

    public PZLine getPzLine() {
        return pzLine;
    }

    public void setPzLine(PZLine pzLine) {
        this.pzLine = pzLine;
    }

    public String getStationName() {
        return stationName;
    }

    public void setStationName(String stationName) {
        this.stationName = stationName;
    }

    public String getInstallLocation() {
        return installLocation;
    }

    public void setInstallLocation(String installLocation) {
        this.installLocation = installLocation;
    }

    public Date getInstallDate() {
        return installDate;
    }

    public void setInstallDate(Date installDate) {
        this.installDate = installDate;
    }

    public Boolean getPlanned() {
        return planned;
    }

    public void setPlanned(Boolean planned) {
        this.planned = planned;
    }

    public EtMaintainPlan getEtMaintainPlan() {
        return etMaintainPlan;
    }

    public void setEtMaintainPlan(EtMaintainPlan etMaintainPlan) {
        this.etMaintainPlan = etMaintainPlan;
    }
}
